const Sequelize = require("sequelize");
const sequelize = require("../config/database.js");
const Sight = sequelize.define("sight", {
  id: {
    type: Sequelize.INTEGER,
    autoIncrement: true,
    primaryKey: true,
  },
  name: {
    type: Sequelize.STRING,
    allowNull: false,
  },
  image: {
    type: Sequelize.STRING,
    allowNull: false,
  },
  hot: {
    type: Sequelize.BOOLEAN,
    defaultValue: false,
  },
});
module.exports = Sight;
